<extend name="Base/common"/>
<block name="css">
    <link rel="stylesheet" href="__CSS__/index.css"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_76khpehk4s0885mi.css"/>
</block>
<block name="body">
    <div class="page-group" >
        <div class="page page-current" style="background-color: #fff">
            <header class="bar bar-nav comHead">
                <a href="javascript:" class="title">已购</a>
            </header>
            <include file="./Application/Common/View/default/Public/footer.html"/>
            <div class="content me">
                <div class="content-block noEdge">
                    <div class="mallNavWrap">
                        <div class="bought_part">
                            <if condition="!is_login()">
                                <div class="unlogin">
                                    <div class="unlogin-img">
                                        <img src="./Application/Mall/Static/images/unlogin.png" alt="您的已购页面为空">
                                    </div>
                                    <p>oh，您还没有登录。</p>
                                </div>
                                <else/>
                                <if condition="$book_list">
                                    <volist name="book_list" id="val">
                                        <div class="bought_list">
                                            <a href="{:U('detail',array('id'=>$val['id']))}">
                                                <div class="goods_img">
                                                    <img src="{$val.img}">
                                                </div>
                                                <p>{$val.name}</p>
                                            </a>
                                        </div>
                                    </volist>
                                    <else/>
                                    <div class="empty">
                                        <div class="empty-img">
                                            <img src="./Application/Mall/Static/images/empty.png" alt="您的已购页面为空">
                                        </div>
                                        <p>oh，您还没有购买任何商品哦。</p>
                                    </div>
                                </if>
                            </if>
                        </div>
                        <gt name="first_mall_num" value="9">
                            <div class="load-more-div proWrap" data-uid="{$uid}" data-type="moreWeibo" data-role="loadMore" data-value="{$page}">加载更多</div>
                        </gt>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>